package com.china08.yxyapi.repository.mg.statistics;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.china08.yxyapi.entity.mg.statistics.UserUploadResourceMonth;

public interface UserUploadResourceMonthRepository extends MongoRepository<UserUploadResourceMonth, String> {

    List<UserUploadResourceMonth> findBySynchAndIntMonthBetween(Integer synch, Integer startMonth, Integer endMonth);

    List<UserUploadResourceMonth> findByUserIdAndSchoolIdAndIntMonthBetween(String userId, String schoolId,
            Integer startMonth, Integer endMonth);
}
